﻿@model IEnumerable<VOD.Models.Video>
<ul class="phbList">
    @{
        var i=1;
        var s="";
        foreach (var item in Model)
        {
            switch(i)
            {
                case 1:
                case 2:
                case 3:
                    s="color_"+i;
                    break;
                default:
                    s = "color_grey";
                    break;
            }
            <li><span style="float:right;margin-top:2px;">@item.PlayRecords.Count</span><span class="@s">@i.</span> 【@Html.ActionLink(item.VideoCategory.CategoryName, "Channel", new { id = item.VideoCategory.CategoryID }, new { target = "_blank" })】@Html.ActionLink(item.Name, "Play","Video", new { id = item.VideoID },new{target="_blank",title=item.Name})  </li>
            i++;
        }
    }
</ul>
